# Each ligature is of the format:
#
#   ['<key>', <replacement>]
#
# Where <key> is used in the configuration and <replacement> is of the format:
#
#   ['<match>', ['<isolated>', '<initial>', '<medial>', '<final>']]
#
# Where <match> is the string to replace, and <isolated> is the replacement in
# case <match> was in isolated form, <initial> is the replacement in case
# <match> was in initial form, <medial> is the replacement in case <match> was
# in medial form, and <final> is the replacement in case <match> was in final
# form. If no replacement is specified for a form, then no replacement of
# <match> will occur.

# Order here is important, it should be:
#   1. Sentences
#   2. Words
#   3. Letters
# This way we make sure we replace the longest ligatures first

const LIGATURES = [
	# Sentences
	['ARABIC LIGATURE BISMILLAH AR-RAHMAN AR-RAHEEM', [
		'\u0628\u0633\u0645\u0020\u0627\u0644\u0644\u0647\u0020\u0627\u0644\u0631\u062D\u0645\u0646\u0020\u0627\u0644\u0631\u062D\u064A\u0645',

		['\uFDFD', '', '', '']
	]],
	['ARABIC LIGATURE JALLAJALALOUHOU', [
		'\u062C\u0644\u0020\u062C\u0644\u0627\u0644\u0647',

		['\uFDFB', '', '', '']
	]],
	['ARABIC LIGATURE SALLALLAHOU ALAYHE WASALLAM', [
		'\u0635\u0644\u0649\u0020\u0627\u0644\u0644\u0647\u0020\u0639\u0644\u064A\u0647\u0020\u0648\u0633\u0644\u0645',

		['\uFDFA', '', '', '']
	]],

	# Words
	['ARABIC LIGATURE ALLAH', [
		'\u0627\u0644\u0644\u0647', ['\uFDF2', '', '', ''],
	]],
	['ARABIC LIGATURE AKBAR', [
		'\u0623\u0643\u0628\u0631', ['\uFDF3', '', '', ''],
	]],
	['ARABIC LIGATURE ALAYHE', [
		'\u0639\u0644\u064A\u0647', ['\uFDF7', '', '', ''],
	]],
	['ARABIC LIGATURE MOHAMMAD', [
		'\u0645\u062D\u0645\u062F', ['\uFDF4', '', '', ''],
	]],
	['ARABIC LIGATURE RASOUL', [
		'\u0631\u0633\u0648\u0644', ['\uFDF6', '', '', ''],
	]],
	['ARABIC LIGATURE SALAM', [
		'\u0635\u0644\u0639\u0645', ['\uFDF5', '', '', ''],
	]],
	['ARABIC LIGATURE SALLA', [
		'\u0635\u0644\u0649', ['\uFDF9', '', '', ''],
	]],
	['ARABIC LIGATURE WASALLAM', [
		'\u0648\u0633\u0644\u0645', ['\uFDF8', '', '', ''],
	]],
	['RIAL SIGN', [
		'\u0631[\u06CC\u064A]\u0627\u0644', ['\uFDFC', '', '', ''],
	]],

	# Letters
	['ARABIC LIGATURE AIN WITH ALEF MAKSURA', [
		'\u0639\u0649', ['\uFCF7', '', '', '\uFD13'],
	]],
	['ARABIC LIGATURE AIN WITH JEEM', [
		'\u0639\u062C', ['\uFC29', '\uFCBA', '', ''],
	]],
	['ARABIC LIGATURE AIN WITH JEEM WITH MEEM', [
		'\u0639\u062C\u0645', ['', '\uFDC4', '', '\uFD75'],
	]],
	['ARABIC LIGATURE AIN WITH MEEM', [
		'\u0639\u0645', ['\uFC2A', '\uFCBB', '', ''],
	]],
	['ARABIC LIGATURE AIN WITH MEEM WITH ALEF MAKSURA', [
		'\u0639\u0645\u0649', ['', '', '', '\uFD78'],
	]],
	['ARABIC LIGATURE AIN WITH MEEM WITH MEEM', [
		'\u0639\u0645\u0645', ['', '\uFD77', '', '\uFD76'],
	]],
	['ARABIC LIGATURE AIN WITH MEEM WITH YEH', [
		'\u0639\u0645\u064A', ['', '', '', '\uFDB6'],
	]],
	['ARABIC LIGATURE AIN WITH YEH', [
		'\u0639\u064A', ['\uFCF8', '', '', '\uFD14'],
	]],
	['ARABIC LIGATURE ALEF MAKSURA WITH SUPERSCRIPT ALEF', [
		'\u0649\u0670', ['\uFC5D', '', '', '\uFC90'],
	]],
	['ARABIC LIGATURE ALEF WITH FATHATAN', [
		'\u0627\u064B', ['\uFD3D', '', '', '\uFD3C'],
	]],
	['ARABIC LIGATURE BEH WITH ALEF MAKSURA', [
		'\u0628\u0649', ['\uFC09', '', '', '\uFC6E'],
	]],
	['ARABIC LIGATURE BEH WITH HAH', [
		'\u0628\u062D', ['\uFC06', '\uFC9D', '', ''],
	]],
	['ARABIC LIGATURE BEH WITH HAH WITH YEH', [
		'\u0628\u062D\u064A', ['', '', '', '\uFDC2'],
	]],
	['ARABIC LIGATURE BEH WITH HEH', [
		'\u0628\u0647', ['', '\uFCA0', '\uFCE2', ''],
	]],
	['ARABIC LIGATURE BEH WITH JEEM', [
		'\u0628\u062C', ['\uFC05', '\uFC9C', '', ''],
	]],
	['ARABIC LIGATURE BEH WITH KHAH', [
		'\u0628\u062E', ['\uFC07', '\uFC9E', '', ''],
	]],
	['ARABIC LIGATURE BEH WITH KHAH WITH YEH', [
		'\u0628\u062E\u064A', ['', '', '', '\uFD9E'],
	]],
	['ARABIC LIGATURE BEH WITH MEEM', [
		'\u0628\u0645', ['\uFC08', '\uFC9F', '\uFCE1', '\uFC6C'],
	]],
	['ARABIC LIGATURE BEH WITH NOON', [
		'\u0628\u0646', ['', '', '', '\uFC6D'],
	]],
	['ARABIC LIGATURE BEH WITH REH', [
		'\u0628\u0631', ['', '', '', '\uFC6A'],
	]],
	['ARABIC LIGATURE BEH WITH YEH', [
		'\u0628\u064A', ['\uFC0A', '', '', '\uFC6F'],
	]],
	['ARABIC LIGATURE BEH WITH ZAIN', [
		'\u0628\u0632', ['', '', '', '\uFC6B'],
	]],
	['ARABIC LIGATURE DAD WITH ALEF MAKSURA', [
		'\u0636\u0649', ['\uFD07', '', '', '\uFD23'],
	]],
	['ARABIC LIGATURE DAD WITH HAH', [
		'\u0636\u062D', ['\uFC23', '\uFCB5', '', ''],
	]],
	['ARABIC LIGATURE DAD WITH HAH WITH ALEF MAKSURA', [
		'\u0636\u062D\u0649', ['', '', '', '\uFD6E'],
	]],
	['ARABIC LIGATURE DAD WITH HAH WITH YEH', [
		'\u0636\u062D\u064A', ['', '', '', '\uFDAB'],
	]],
	['ARABIC LIGATURE DAD WITH JEEM', [
		'\u0636\u062C', ['\uFC22', '\uFCB4', '', ''],
	]],
	['ARABIC LIGATURE DAD WITH KHAH', [
		'\u0636\u062E', ['\uFC24', '\uFCB6', '', ''],
	]],
	['ARABIC LIGATURE DAD WITH KHAH WITH MEEM', [
		'\u0636\u062E\u0645', ['', '\uFD70', '', '\uFD6F'],
	]],
	['ARABIC LIGATURE DAD WITH MEEM', [
		'\u0636\u0645', ['\uFC25', '\uFCB7', '', ''],
	]],
	['ARABIC LIGATURE DAD WITH REH', [
		'\u0636\u0631', ['\uFD10', '', '', '\uFD2C'],
	]],
	['ARABIC LIGATURE DAD WITH YEH', [
		'\u0636\u064A', ['\uFD08', '', '', '\uFD24'],
	]],
	['ARABIC LIGATURE FEH WITH ALEF MAKSURA', [
		'\u0641\u0649', ['\uFC31', '', '', '\uFC7C'],
	]],
	['ARABIC LIGATURE FEH WITH HAH', [
		'\u0641\u062D', ['\uFC2E', '\uFCBF', '', ''],
	]],
	['ARABIC LIGATURE FEH WITH JEEM', [
		'\u0641\u062C', ['\uFC2D', '\uFCBE', '', ''],
	]],
	['ARABIC LIGATURE FEH WITH KHAH', [
		'\u0641\u062E', ['\uFC2F', '\uFCC0', '', ''],
	]],
	['ARABIC LIGATURE FEH WITH KHAH WITH MEEM', [
		'\u0641\u062E\u0645', ['', '\uFD7D', '', '\uFD7C'],
	]],
	['ARABIC LIGATURE FEH WITH MEEM', [
		'\u0641\u0645', ['\uFC30', '\uFCC1', '', ''],
	]],
	['ARABIC LIGATURE FEH WITH MEEM WITH YEH', [
		'\u0641\u0645\u064A', ['', '', '', '\uFDC1'],
	]],
	['ARABIC LIGATURE FEH WITH YEH', [
		'\u0641\u064A', ['\uFC32', '', '', '\uFC7D'],
	]],
	['ARABIC LIGATURE GHAIN WITH ALEF MAKSURA', [
		'\u063A\u0649', ['\uFCF9', '', '', '\uFD15'],
	]],
	['ARABIC LIGATURE GHAIN WITH JEEM', [
		'\u063A\u062C', ['\uFC2B', '\uFCBC', '', ''],
	]],
	['ARABIC LIGATURE GHAIN WITH MEEM', [
		'\u063A\u0645', ['\uFC2C', '\uFCBD', '', ''],
	]],
	['ARABIC LIGATURE GHAIN WITH MEEM WITH ALEF MAKSURA', [
		'\u063A\u0645\u0649', ['', '', '', '\uFD7B'],
	]],
	['ARABIC LIGATURE GHAIN WITH MEEM WITH MEEM', [
		'\u063A\u0645\u0645', ['', '', '', '\uFD79'],
	]],
	['ARABIC LIGATURE GHAIN WITH MEEM WITH YEH', [
		'\u063A\u0645\u064A', ['', '', '', '\uFD7A'],
	]],
	['ARABIC LIGATURE GHAIN WITH YEH', [
		'\u063A\u064A', ['\uFCFA', '', '', '\uFD16'],
	]],
	['ARABIC LIGATURE HAH WITH ALEF MAKSURA', [
		'\u062D\u0649', ['\uFCFF', '', '', '\uFD1B'],
	]],
	['ARABIC LIGATURE HAH WITH JEEM', [
		'\u062D\u062C', ['\uFC17', '\uFCA9', '', ''],
	]],
	['ARABIC LIGATURE HAH WITH JEEM WITH YEH', [
		'\u062D\u062C\u064A', ['', '', '', '\uFDBF'],
	]],
	['ARABIC LIGATURE HAH WITH MEEM', [
		'\u062D\u0645', ['\uFC18', '\uFCAA', '', ''],
	]],
	['ARABIC LIGATURE HAH WITH MEEM WITH ALEF MAKSURA', [
		'\u062D\u0645\u0649', ['', '', '', '\uFD5B'],
	]],
	['ARABIC LIGATURE HAH WITH MEEM WITH YEH', [
		'\u062D\u0645\u064A', ['', '', '', '\uFD5A'],
	]],
	['ARABIC LIGATURE HAH WITH YEH', [
		'\u062D\u064A', ['\uFD00', '', '', '\uFD1C'],
	]],
	['ARABIC LIGATURE HEH WITH ALEF MAKSURA', [
		'\u0647\u0649', ['\uFC53', '', '', ''],
	]],
	['ARABIC LIGATURE HEH WITH JEEM', [
		'\u0647\u062C', ['\uFC51', '\uFCD7', '', ''],
	]],
	['ARABIC LIGATURE HEH WITH MEEM', [
		'\u0647\u0645', ['\uFC52', '\uFCD8', '', ''],
	]],
	['ARABIC LIGATURE HEH WITH MEEM WITH JEEM', [
		'\u0647\u0645\u062C', ['', '\uFD93', '', ''],
	]],
	['ARABIC LIGATURE HEH WITH MEEM WITH MEEM', [
		'\u0647\u0645\u0645', ['', '\uFD94', '', ''],
	]],
	['ARABIC LIGATURE HEH WITH SUPERSCRIPT ALEF', [
		'\u0647\u0670', ['', '\uFCD9', '', ''],
	]],
	['ARABIC LIGATURE HEH WITH YEH', [
		'\u0647\u064A', ['\uFC54', '', '', ''],
	]],
	['ARABIC LIGATURE JEEM WITH ALEF MAKSURA', [
		'\u062C\u0649', ['\uFD01', '', '', '\uFD1D'],
	]],
	['ARABIC LIGATURE JEEM WITH HAH', [
		'\u062C\u062D', ['\uFC15', '\uFCA7', '', ''],
	]],
	['ARABIC LIGATURE JEEM WITH HAH WITH ALEF MAKSURA', [
		'\u062C\u062D\u0649', ['', '', '', '\uFDA6'],
	]],
	['ARABIC LIGATURE JEEM WITH HAH WITH YEH', [
		'\u062C\u062D\u064A', ['', '', '', '\uFDBE'],
	]],
	['ARABIC LIGATURE JEEM WITH MEEM', [
		'\u062C\u0645', ['\uFC16', '\uFCA8', '', ''],
	]],
	['ARABIC LIGATURE JEEM WITH MEEM WITH ALEF MAKSURA', [
		'\u062C\u0645\u0649', ['', '', '', '\uFDA7'],
	]],
	['ARABIC LIGATURE JEEM WITH MEEM WITH HAH', [
		'\u062C\u0645\u062D', ['', '\uFD59', '', '\uFD58'],
	]],
	['ARABIC LIGATURE JEEM WITH MEEM WITH YEH', [
		'\u062C\u0645\u064A', ['', '', '', '\uFDA5'],
	]],
	['ARABIC LIGATURE JEEM WITH YEH', [
		'\u062C\u064A', ['\uFD02', '', '', '\uFD1E'],
	]],
	['ARABIC LIGATURE KAF WITH ALEF', [
		'\u0643\u0627', ['\uFC37', '', '', '\uFC80'],
	]],
	['ARABIC LIGATURE KAF WITH ALEF MAKSURA', [
		'\u0643\u0649', ['\uFC3D', '', '', '\uFC83'],
	]],
	['ARABIC LIGATURE KAF WITH HAH', [
		'\u0643\u062D', ['\uFC39', '\uFCC5', '', ''],
	]],
	['ARABIC LIGATURE KAF WITH JEEM', [
		'\u0643\u062C', ['\uFC38', '\uFCC4', '', ''],
	]],
	['ARABIC LIGATURE KAF WITH KHAH', [
		'\u0643\u062E', ['\uFC3A', '\uFCC6', '', ''],
	]],
	['ARABIC LIGATURE KAF WITH LAM', [
		'\u0643\u0644', ['\uFC3B', '\uFCC7', '\uFCEB', '\uFC81'],
	]],
	['ARABIC LIGATURE KAF WITH MEEM', [
		'\u0643\u0645', ['\uFC3C', '\uFCC8', '\uFCEC', '\uFC82'],
	]],
	['ARABIC LIGATURE KAF WITH MEEM WITH MEEM', [
		'\u0643\u0645\u0645', ['', '\uFDC3', '', '\uFDBB'],
	]],
	['ARABIC LIGATURE KAF WITH MEEM WITH YEH', [
		'\u0643\u0645\u064A', ['', '', '', '\uFDB7'],
	]],
	['ARABIC LIGATURE KAF WITH YEH', [
		'\u0643\u064A', ['\uFC3E', '', '', '\uFC84'],
	]],
	['ARABIC LIGATURE KHAH WITH ALEF MAKSURA', [
		'\u062E\u0649', ['\uFD03', '', '', '\uFD1F'],
	]],
	['ARABIC LIGATURE KHAH WITH HAH', [
		'\u062E\u062D', ['\uFC1A', '', '', ''],
	]],
	['ARABIC LIGATURE KHAH WITH JEEM', [
		'\u062E\u062C', ['\uFC19', '\uFCAB', '', ''],
	]],
	['ARABIC LIGATURE KHAH WITH MEEM', [
		'\u062E\u0645', ['\uFC1B', '\uFCAC', '', ''],
	]],
	['ARABIC LIGATURE KHAH WITH YEH', [
		'\u062E\u064A', ['\uFD04', '', '', '\uFD20'],
	]],
	['ARABIC LIGATURE LAM WITH ALEF', [
		'\u0644\u0627', ['\uFEFB', '', '', '\uFEFC'],
	]],
	['ARABIC LIGATURE LAM WITH ALEF MAKSURA', [
		'\u0644\u0649', ['\uFC43', '', '', '\uFC86'],
	]],
	['ARABIC LIGATURE LAM WITH ALEF WITH HAMZA ABOVE', [
		'\u0644\u0623', ['\uFEF7', '', '', '\uFEF8'],
	]],
	['ARABIC LIGATURE LAM WITH ALEF WITH HAMZA BELOW', [
		'\u0644\u0625', ['\uFEF9', '', '', '\uFEFA'],
	]],
	['ARABIC LIGATURE LAM WITH ALEF WITH MADDA ABOVE', [
		'\u0644\u0622', ['\uFEF5', '', '', '\uFEF6'],
	]],
	['ARABIC LIGATURE LAM WITH HAH', [
		'\u0644\u062D', ['\uFC40', '\uFCCA', '', ''],
	]],
	['ARABIC LIGATURE LAM WITH HAH WITH ALEF MAKSURA', [
		'\u0644\u062D\u0649', ['', '', '', '\uFD82'],
	]],
	['ARABIC LIGATURE LAM WITH HAH WITH MEEM', [
		'\u0644\u062D\u0645', ['', '\uFDB5', '', '\uFD80'],
	]],
	['ARABIC LIGATURE LAM WITH HAH WITH YEH', [
		'\u0644\u062D\u064A', ['', '', '', '\uFD81'],
	]],
	['ARABIC LIGATURE LAM WITH HEH', [
		'\u0644\u0647', ['', '\uFCCD', '', ''],
	]],
	['ARABIC LIGATURE LAM WITH JEEM', [
		'\u0644\u062C', ['\uFC3F', '\uFCC9', '', ''],
	]],
	['ARABIC LIGATURE LAM WITH JEEM WITH JEEM', [
		'\u0644\u062C\u062C', ['', '\uFD83', '', '\uFD84'],
	]],
	['ARABIC LIGATURE LAM WITH JEEM WITH MEEM', [
		'\u0644\u062C\u0645', ['', '\uFDBA', '', '\uFDBC'],
	]],
	['ARABIC LIGATURE LAM WITH JEEM WITH YEH', [
		'\u0644\u062C\u064A', ['', '', '', '\uFDAC'],
	]],
	['ARABIC LIGATURE LAM WITH KHAH', [
		'\u0644\u062E', ['\uFC41', '\uFCCB', '', ''],
	]],
	['ARABIC LIGATURE LAM WITH KHAH WITH MEEM', [
		'\u0644\u062E\u0645', ['', '\uFD86', '', '\uFD85'],
	]],
	['ARABIC LIGATURE LAM WITH MEEM', [
		'\u0644\u0645', ['\uFC42', '\uFCCC', '\uFCED', '\uFC85'],
	]],
	['ARABIC LIGATURE LAM WITH MEEM WITH HAH', [
		'\u0644\u0645\u062D', ['', '\uFD88', '', '\uFD87'],
	]],
	['ARABIC LIGATURE LAM WITH MEEM WITH YEH', [
		'\u0644\u0645\u064A', ['', '', '', '\uFDAD'],
	]],
	['ARABIC LIGATURE LAM WITH YEH', [
		'\u0644\u064A', ['\uFC44', '', '', '\uFC87'],
	]],
	['ARABIC LIGATURE MEEM WITH ALEF', [
		'\u0645\u0627', ['', '', '', '\uFC88'],
	]],
	['ARABIC LIGATURE MEEM WITH ALEF MAKSURA', [
		'\u0645\u0649', ['\uFC49', '', '', ''],
	]],
	['ARABIC LIGATURE MEEM WITH HAH', [
		'\u0645\u062D', ['\uFC46', '\uFCCF', '', ''],
	]],
	['ARABIC LIGATURE MEEM WITH HAH WITH JEEM', [
		'\u0645\u062D\u062C', ['', '\uFD89', '', ''],
	]],
	['ARABIC LIGATURE MEEM WITH HAH WITH MEEM', [
		'\u0645\u062D\u0645', ['', '\uFD8A', '', ''],
	]],
	['ARABIC LIGATURE MEEM WITH HAH WITH YEH', [
		'\u0645\u062D\u064A', ['', '', '', '\uFD8B'],
	]],
	['ARABIC LIGATURE MEEM WITH JEEM', [
		'\u0645\u062C', ['\uFC45', '\uFCCE', '', ''],
	]],
	['ARABIC LIGATURE MEEM WITH JEEM WITH HAH', [
		'\u0645\u062C\u062D', ['', '\uFD8C', '', ''],
	]],
	['ARABIC LIGATURE MEEM WITH JEEM WITH KHAH', [
		'\u0645\u062C\u062E', ['', '\uFD92', '', ''],
	]],
	['ARABIC LIGATURE MEEM WITH JEEM WITH MEEM', [
		'\u0645\u062C\u0645', ['', '\uFD8D', '', ''],
	]],
	['ARABIC LIGATURE MEEM WITH JEEM WITH YEH', [
		'\u0645\u062C\u064A', ['', '', '', '\uFDC0'],
	]],
	['ARABIC LIGATURE MEEM WITH KHAH', [
		'\u0645\u062E', ['\uFC47', '\uFCD0', '', ''],
	]],
	['ARABIC LIGATURE MEEM WITH KHAH WITH JEEM', [
		'\u0645\u062E\u062C', ['', '\uFD8E', '', ''],
	]],
	['ARABIC LIGATURE MEEM WITH KHAH WITH MEEM', [
		'\u0645\u062E\u0645', ['', '\uFD8F', '', ''],
	]],
	['ARABIC LIGATURE MEEM WITH KHAH WITH YEH', [
		'\u0645\u062E\u064A', ['', '', '', '\uFDB9'],
	]],
	['ARABIC LIGATURE MEEM WITH MEEM', [
		'\u0645\u0645', ['\uFC48', '\uFCD1', '', '\uFC89'],
	]],
	['ARABIC LIGATURE MEEM WITH MEEM WITH YEH', [
		'\u0645\u0645\u064A', ['', '', '', '\uFDB1'],
	]],
	['ARABIC LIGATURE MEEM WITH YEH', [
		'\u0645\u064A', ['\uFC4A', '', '', ''],
	]],
	['ARABIC LIGATURE NOON WITH ALEF MAKSURA', [
		'\u0646\u0649', ['\uFC4F', '', '', '\uFC8E'],
	]],
	['ARABIC LIGATURE NOON WITH HAH', [
		'\u0646\u062D', ['\uFC4C', '\uFCD3', '', ''],
	]],
	['ARABIC LIGATURE NOON WITH HAH WITH ALEF MAKSURA', [
		'\u0646\u062D\u0649', ['', '', '', '\uFD96'],
	]],
	['ARABIC LIGATURE NOON WITH HAH WITH MEEM', [
		'\u0646\u062D\u0645', ['', '\uFD95', '', ''],
	]],
	['ARABIC LIGATURE NOON WITH HAH WITH YEH', [
		'\u0646\u062D\u064A', ['', '', '', '\uFDB3'],
	]],
	['ARABIC LIGATURE NOON WITH HEH', [
		'\u0646\u0647', ['', '\uFCD6', '\uFCEF', ''],
	]],
	['ARABIC LIGATURE NOON WITH JEEM', [
		'\u0646\u062C', ['\uFC4B', '\uFCD2', '', ''],
	]],
	['ARABIC LIGATURE NOON WITH JEEM WITH ALEF MAKSURA', [
		'\u0646\u062C\u0649', ['', '', '', '\uFD99'],
	]],
	['ARABIC LIGATURE NOON WITH JEEM WITH HAH', [
		'\u0646\u062C\u062D', ['', '\uFDB8', '', '\uFDBD'],
	]],
	['ARABIC LIGATURE NOON WITH JEEM WITH MEEM', [
		'\u0646\u062C\u0645', ['', '\uFD98', '', '\uFD97'],
	]],
	['ARABIC LIGATURE NOON WITH JEEM WITH YEH', [
		'\u0646\u062C\u064A', ['', '', '', '\uFDC7'],
	]],
	['ARABIC LIGATURE NOON WITH KHAH', [
		'\u0646\u062E', ['\uFC4D', '\uFCD4', '', ''],
	]],
	['ARABIC LIGATURE NOON WITH MEEM', [
		'\u0646\u0645', ['\uFC4E', '\uFCD5', '\uFCEE', '\uFC8C'],
	]],
	['ARABIC LIGATURE NOON WITH MEEM WITH ALEF MAKSURA', [
		'\u0646\u0645\u0649', ['', '', '', '\uFD9B'],
	]],
	['ARABIC LIGATURE NOON WITH MEEM WITH YEH', [
		'\u0646\u0645\u064A', ['', '', '', '\uFD9A'],
	]],
	['ARABIC LIGATURE NOON WITH NOON', [
		'\u0646\u0646', ['', '', '', '\uFC8D'],
	]],
	['ARABIC LIGATURE NOON WITH REH', [
		'\u0646\u0631', ['', '', '', '\uFC8A'],
	]],
	['ARABIC LIGATURE NOON WITH YEH', [
		'\u0646\u064A', ['\uFC50', '', '', '\uFC8F'],
	]],
	['ARABIC LIGATURE NOON WITH ZAIN', [
		'\u0646\u0632', ['', '', '', '\uFC8B'],
	]],
	['ARABIC LIGATURE QAF WITH ALEF MAKSURA', [
		'\u0642\u0649', ['\uFC35', '', '', '\uFC7E'],
	]],
	['ARABIC LIGATURE QAF WITH HAH', [
		'\u0642\u062D', ['\uFC33', '\uFCC2', '', ''],
	]],
	['ARABIC LIGATURE QAF WITH MEEM', [
		'\u0642\u0645', ['\uFC34', '\uFCC3', '', ''],
	]],
	['ARABIC LIGATURE QAF WITH MEEM WITH HAH', [
		'\u0642\u0645\u062D', ['', '\uFDB4', '', '\uFD7E'],
	]],
	['ARABIC LIGATURE QAF WITH MEEM WITH MEEM', [
		'\u0642\u0645\u0645', ['', '', '', '\uFD7F'],
	]],
	['ARABIC LIGATURE QAF WITH MEEM WITH YEH', [
		'\u0642\u0645\u064A', ['', '', '', '\uFDB2'],
	]],
	['ARABIC LIGATURE QAF WITH YEH', [
		'\u0642\u064A', ['\uFC36', '', '', '\uFC7F'],
	]],
	['ARABIC LIGATURE QALA USED AS KORANIC STOP SIGN', [
		'\u0642\u0644\u06D2', ['\uFDF1', '', '', ''],
	]],
	['ARABIC LIGATURE REH WITH SUPERSCRIPT ALEF', [
		'\u0631\u0670', ['\uFC5C', '', '', ''],
	]],
	['ARABIC LIGATURE SAD WITH ALEF MAKSURA', [
		'\u0635\u0649', ['\uFD05', '', '', '\uFD21'],
	]],
	['ARABIC LIGATURE SAD WITH HAH', [
		'\u0635\u062D', ['\uFC20', '\uFCB1', '', ''],
	]],
	['ARABIC LIGATURE SAD WITH HAH WITH HAH', [
		'\u0635\u062D\u062D', ['', '\uFD65', '', '\uFD64'],
	]],
	['ARABIC LIGATURE SAD WITH HAH WITH YEH', [
		'\u0635\u062D\u064A', ['', '', '', '\uFDA9'],
	]],
	['ARABIC LIGATURE SAD WITH KHAH', [
		'\u0635\u062E', ['', '\uFCB2', '', ''],
	]],
	['ARABIC LIGATURE SAD WITH MEEM', [
		'\u0635\u0645', ['\uFC21', '\uFCB3', '', ''],
	]],
	['ARABIC LIGATURE SAD WITH MEEM WITH MEEM', [
		'\u0635\u0645\u0645', ['', '\uFDC5', '', '\uFD66'],
	]],
	['ARABIC LIGATURE SAD WITH REH', [
		'\u0635\u0631', ['\uFD0F', '', '', '\uFD2B'],
	]],
	['ARABIC LIGATURE SAD WITH YEH', [
		'\u0635\u064A', ['\uFD06', '', '', '\uFD22'],
	]],
	['ARABIC LIGATURE SALLA USED AS KORANIC STOP SIGN', [
		'\u0635\u0644\u06D2', ['\uFDF0', '', '', ''],
	]],
	['ARABIC LIGATURE SEEN WITH ALEF MAKSURA', [
		'\u0633\u0649', ['\uFCFB', '', '', '\uFD17'],
	]],
	['ARABIC LIGATURE SEEN WITH HAH', [
		'\u0633\u062D', ['\uFC1D', '\uFCAE', '\uFD35', ''],
	]],
	['ARABIC LIGATURE SEEN WITH HAH WITH JEEM', [
		'\u0633\u062D\u062C', ['', '\uFD5C', '', ''],
	]],
	['ARABIC LIGATURE SEEN WITH HEH', [
		'\u0633\u0647', ['', '\uFD31', '\uFCE8', ''],
	]],
	['ARABIC LIGATURE SEEN WITH JEEM', [
		'\u0633\u062C', ['\uFC1C', '\uFCAD', '\uFD34', ''],
	]],
	['ARABIC LIGATURE SEEN WITH JEEM WITH ALEF MAKSURA', [
		'\u0633\u062C\u0649', ['', '', '', '\uFD5E'],
	]],
	['ARABIC LIGATURE SEEN WITH JEEM WITH HAH', [
		'\u0633\u062C\u062D', ['', '\uFD5D', '', ''],
	]],
	['ARABIC LIGATURE SEEN WITH KHAH', [
		'\u0633\u062E', ['\uFC1E', '\uFCAF', '\uFD36', ''],
	]],
	['ARABIC LIGATURE SEEN WITH KHAH WITH ALEF MAKSURA', [
		'\u0633\u062E\u0649', ['', '', '', '\uFDA8'],
	]],
	['ARABIC LIGATURE SEEN WITH KHAH WITH YEH', [
		'\u0633\u062E\u064A', ['', '', '', '\uFDC6'],
	]],
	['ARABIC LIGATURE SEEN WITH MEEM', [
		'\u0633\u0645', ['\uFC1F', '\uFCB0', '\uFCE7', ''],
	]],
	['ARABIC LIGATURE SEEN WITH MEEM WITH HAH', [
		'\u0633\u0645\u062D', ['', '\uFD60', '', '\uFD5F'],
	]],
	['ARABIC LIGATURE SEEN WITH MEEM WITH JEEM', [
		'\u0633\u0645\u062C', ['', '\uFD61', '', ''],
	]],
	['ARABIC LIGATURE SEEN WITH MEEM WITH MEEM', [
		'\u0633\u0645\u0645', ['', '\uFD63', '', '\uFD62'],
	]],
	['ARABIC LIGATURE SEEN WITH REH', [
		'\u0633\u0631', ['\uFD0E', '', '', '\uFD2A'],
	]],
	['ARABIC LIGATURE SEEN WITH YEH', [
		'\u0633\u064A', ['\uFCFC', '', '', '\uFD18'],
	]],

	# Arabic ligatures with Shadda, the order of characters doesn't matter
	['ARABIC LIGATURE SHADDA WITH DAMMATAN ISOLATED FORM', [
		'[?:\u064C\u0651|\u0651\u064C]',

		['\uFC5E', '\uFC5E', '\uFC5E', '\uFC5E'],
	]],
	['ARABIC LIGATURE SHADDA WITH KASRATAN ISOLATED FORM', [
		'[?:\u064D\u0651|\u0651\u064D]',

		['\uFC5F', '\uFC5F', '\uFC5F', '\uFC5F'],
	]],
	['ARABIC LIGATURE SHADDA WITH FATHA ISOLATED FORM', [
		'[?:\u064E\u0651|\u0651\u064E]',

		['\uFC60', '\uFC60', '\uFC60', '\uFC60'],
	]],
	['ARABIC LIGATURE SHADDA WITH DAMMA ISOLATED FORM', [
		'[?:\u064F\u0651|\u0651\u064F]',

		['\uFC61', '\uFC61', '\uFC61', '\uFC61'],
	]],
	['ARABIC LIGATURE SHADDA WITH KASRA ISOLATED FORM', [
		'[?:\u0650\u0651|\u0651\u0650]',

		['\uFC62', '\uFC62', '\uFC62', '\uFC62'],
	]],
	['ARABIC LIGATURE SHADDA WITH SUPERSCRIPT ALEF', [
		'[?:\u0651\u0670|\u0670\u0651]', ['\uFC63', '', '', ''],
	]],

	# There is a special case when they are with Tatweel
	['ARABIC LIGATURE SHADDA WITH FATHA MEDIAL FORM', [
		'\u0640[?:\u064E\u0651|\u0651\u064E]',

		['\uFCF2', '\uFCF2', '\uFCF2', '\uFCF2'],
	]],
	['ARABIC LIGATURE SHADDA WITH DAMMA MEDIAL FORM', [
		'\u0640[?:\u064F\u0651|\u0651\u064F]',

		['\uFCF3', '\uFCF3', '\uFCF3', '\uFCF3'],
	]],
	['ARABIC LIGATURE SHADDA WITH KASRA MEDIAL FORM', [
		'\u0640[?:\u0650\u0651|\u0651\u0650]',

		['\uFCF4', '\uFCF4', '\uFCF4', '\uFCF4'],
	]],

	# Repeated with different keys to be backward compatible
	['ARABIC LIGATURE SHADDA WITH FATHA', [
		'\u0640[?:\u064E\u0651|\u0651\u064E]',

		['\uFCF2', '\uFCF2', '\uFCF2', '\uFCF2'],
	]],
	['ARABIC LIGATURE SHADDA WITH DAMMA', [
		'\u0640[?:\u064F\u0651|\u0651\u064F]',

		['\uFCF3', '\uFCF3', '\uFCF3', '\uFCF3'],
	]],
	['ARABIC LIGATURE SHADDA WITH KASRA', [
		'\u0640[?:\u0650\u0651|\u0651\u0650]',

		['\uFCF4', '\uFCF4', '\uFCF4', '\uFCF4'],
	]],

	['ARABIC LIGATURE SHEEN WITH ALEF MAKSURA', [
		'\u0634\u0649', ['\uFCFD', '', '', '\uFD19'],
	]],
	['ARABIC LIGATURE SHEEN WITH HAH', [
		'\u0634\u062D', ['\uFD0A', '\uFD2E', '\uFD38', '\uFD26'],
	]],
	['ARABIC LIGATURE SHEEN WITH HAH WITH MEEM', [
		'\u0634\u062D\u0645', ['', '\uFD68', '', '\uFD67'],
	]],
	['ARABIC LIGATURE SHEEN WITH HAH WITH YEH', [
		'\u0634\u062D\u064A', ['', '', '', '\uFDAA'],
	]],
	['ARABIC LIGATURE SHEEN WITH HEH', [
		'\u0634\u0647', ['', '\uFD32', '\uFCEA', ''],
	]],
	['ARABIC LIGATURE SHEEN WITH JEEM', [
		'\u0634\u062C', ['\uFD09', '\uFD2D', '\uFD37', '\uFD25'],
	]],
	['ARABIC LIGATURE SHEEN WITH JEEM WITH YEH', [
		'\u0634\u062C\u064A', ['', '', '', '\uFD69'],
	]],
	['ARABIC LIGATURE SHEEN WITH KHAH', [
		'\u0634\u062E', ['\uFD0B', '\uFD2F', '\uFD39', '\uFD27'],
	]],
	['ARABIC LIGATURE SHEEN WITH MEEM', [
		'\u0634\u0645', ['\uFD0C', '\uFD30', '\uFCE9', '\uFD28'],
	]],
	['ARABIC LIGATURE SHEEN WITH MEEM WITH KHAH', [
		'\u0634\u0645\u062E', ['', '\uFD6B', '', '\uFD6A'],
	]],
	['ARABIC LIGATURE SHEEN WITH MEEM WITH MEEM', [
		'\u0634\u0645\u0645', ['', '\uFD6D', '', '\uFD6C'],
	]],
	['ARABIC LIGATURE SHEEN WITH REH', [
		'\u0634\u0631', ['\uFD0D', '', '', '\uFD29'],
	]],
	['ARABIC LIGATURE SHEEN WITH YEH', [
		'\u0634\u064A', ['\uFCFE', '', '', '\uFD1A'],
	]],
	['ARABIC LIGATURE TAH WITH ALEF MAKSURA', [
		'\u0637\u0649', ['\uFCF5', '', '', '\uFD11'],
	]],
	['ARABIC LIGATURE TAH WITH HAH', [
		'\u0637\u062D', ['\uFC26', '\uFCB8', '', ''],
	]],
	['ARABIC LIGATURE TAH WITH MEEM', [
		'\u0637\u0645', ['\uFC27', '\uFD33', '\uFD3A', ''],
	]],
	['ARABIC LIGATURE TAH WITH MEEM WITH HAH', [
		'\u0637\u0645\u062D', ['', '\uFD72', '', '\uFD71'],
	]],
	['ARABIC LIGATURE TAH WITH MEEM WITH MEEM', [
		'\u0637\u0645\u0645', ['', '\uFD73', '', ''],
	]],
	['ARABIC LIGATURE TAH WITH MEEM WITH YEH', [
		'\u0637\u0645\u064A', ['', '', '', '\uFD74'],
	]],
	['ARABIC LIGATURE TAH WITH YEH', [
		'\u0637\u064A', ['\uFCF6', '', '', '\uFD12'],
	]],
	['ARABIC LIGATURE TEH WITH ALEF MAKSURA', [
		'\u062A\u0649', ['\uFC0F', '', '', '\uFC74'],
	]],
	['ARABIC LIGATURE TEH WITH HAH', [
		'\u062A\u062D', ['\uFC0C', '\uFCA2', '', ''],
	]],
	['ARABIC LIGATURE TEH WITH HAH WITH JEEM', [
		'\u062A\u062D\u062C', ['', '\uFD52', '', '\uFD51'],
	]],
	['ARABIC LIGATURE TEH WITH HAH WITH MEEM', [
		'\u062A\u062D\u0645', ['', '\uFD53', '', ''],
	]],
	['ARABIC LIGATURE TEH WITH HEH', [
		'\u062A\u0647', ['', '\uFCA5', '\uFCE4', ''],
	]],
	['ARABIC LIGATURE TEH WITH JEEM', [
		'\u062A\u062C', ['\uFC0B', '\uFCA1', '', ''],
	]],
	['ARABIC LIGATURE TEH WITH JEEM WITH ALEF MAKSURA', [
		'\u062A\u062C\u0649', ['', '', '', '\uFDA0'],
	]],
	['ARABIC LIGATURE TEH WITH JEEM WITH MEEM', [
		'\u062A\u062C\u0645', ['', '\uFD50', '', ''],
	]],
	['ARABIC LIGATURE TEH WITH JEEM WITH YEH', [
		'\u062A\u062C\u064A', ['', '', '', '\uFD9F'],
	]],
	['ARABIC LIGATURE TEH WITH KHAH', [
		'\u062A\u062E', ['\uFC0D', '\uFCA3', '', ''],
	]],
	['ARABIC LIGATURE TEH WITH KHAH WITH ALEF MAKSURA', [
		'\u062A\u062E\u0649', ['', '', '', '\uFDA2'],
	]],
	['ARABIC LIGATURE TEH WITH KHAH WITH MEEM', [
		'\u062A\u062E\u0645', ['', '\uFD54', '', ''],
	]],
	['ARABIC LIGATURE TEH WITH KHAH WITH YEH', [
		'\u062A\u062E\u064A', ['', '', '', '\uFDA1'],
	]],
	['ARABIC LIGATURE TEH WITH MEEM', [
		'\u062A\u0645', ['\uFC0E', '\uFCA4', '\uFCE3', '\uFC72'],
	]],
	['ARABIC LIGATURE TEH WITH MEEM WITH ALEF MAKSURA', [
		'\u062A\u0645\u0649', ['', '', '', '\uFDA4'],
	]],
	['ARABIC LIGATURE TEH WITH MEEM WITH HAH', [
		'\u062A\u0645\u062D', ['', '\uFD56', '', ''],
	]],
	['ARABIC LIGATURE TEH WITH MEEM WITH JEEM', [
		'\u062A\u0645\u062C', ['', '\uFD55', '', ''],
	]],
	['ARABIC LIGATURE TEH WITH MEEM WITH KHAH', [
		'\u062A\u0645\u062E', ['', '\uFD57', '', ''],
	]],
	['ARABIC LIGATURE TEH WITH MEEM WITH YEH', [
		'\u062A\u0645\u064A', ['', '', '', '\uFDA3'],
	]],
	['ARABIC LIGATURE TEH WITH NOON', [
		'\u062A\u0646', ['', '', '', '\uFC73'],
	]],
	['ARABIC LIGATURE TEH WITH REH', [
		'\u062A\u0631', ['', '', '', '\uFC70'],
	]],
	['ARABIC LIGATURE TEH WITH YEH', [
		'\u062A\u064A', ['\uFC10', '', '', '\uFC75'],
	]],
	['ARABIC LIGATURE TEH WITH ZAIN', [
		'\u062A\u0632', ['', '', '', '\uFC71'],
	]],
	['ARABIC LIGATURE THAL WITH SUPERSCRIPT ALEF', [
		'\u0630\u0670', ['\uFC5B', '', '', ''],
	]],
	['ARABIC LIGATURE THEH WITH ALEF MAKSURA', [
		'\u062B\u0649', ['\uFC13', '', '', '\uFC7A'],
	]],
	['ARABIC LIGATURE THEH WITH HEH', [
		'\u062B\u0647', ['', '', '\uFCE6', ''],
	]],
	['ARABIC LIGATURE THEH WITH JEEM', [
		'\u062B\u062C', ['\uFC11', '', '', ''],
	]],
	['ARABIC LIGATURE THEH WITH MEEM', [
		'\u062B\u0645', ['\uFC12', '\uFCA6', '\uFCE5', '\uFC78'],
	]],
	['ARABIC LIGATURE THEH WITH NOON', [
		'\u062B\u0646', ['', '', '', '\uFC79'],
	]],
	['ARABIC LIGATURE THEH WITH REH', [
		'\u062B\u0631', ['', '', '', '\uFC76'],
	]],
	['ARABIC LIGATURE THEH WITH YEH', [
		'\u062B\u064A', ['\uFC14', '', '', '\uFC7B'],
	]],
	['ARABIC LIGATURE THEH WITH ZAIN', [
		'\u062B\u0632', ['', '', '', '\uFC77'],
	]],
	['ARABIC LIGATURE UIGHUR KIRGHIZ YEH WITH HAMZA ABOVE WITH ALEF MAKSURA', [
		'\u0626\u0649', ['\uFBF9', '\uFBFB', '', '\uFBFA'],
	]],
	['ARABIC LIGATURE YEH WITH ALEF MAKSURA', [
		'\u064A\u0649', ['\uFC59', '', '', '\uFC95'],
	]],
	['ARABIC LIGATURE YEH WITH HAH', [
		'\u064A\u062D', ['\uFC56', '\uFCDB', '', ''],
	]],
	['ARABIC LIGATURE YEH WITH HAH WITH YEH', [
		'\u064A\u062D\u064A', ['', '', '', '\uFDAE'],
	]],
	['ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH AE', [
		'\u0626\u06D5', ['\uFBEC', '', '', '\uFBED'],
	]],
	['ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH ALEF', [
		'\u0626\u0627', ['\uFBEA', '', '', '\uFBEB'],
	]],
	['ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH ALEF MAKSURA', [
		'\u0626\u0649', ['\uFC03', '', '', '\uFC68'],
	]],
	['ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH E', [
		'\u0626\u06D0', ['\uFBF6', '\uFBF8', '', '\uFBF7'],
	]],
	['ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH HAH', [
		'\u0626\u062D', ['\uFC01', '\uFC98', '', ''],
	]],
	['ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH HEH', [
		'\u0626\u0647', ['', '\uFC9B', '\uFCE0', ''],
	]],
	['ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH JEEM', [
		'\u0626\u062C', ['\uFC00', '\uFC97', '', ''],
	]],
	['ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH KHAH', [
		'\u0626\u062E', ['', '\uFC99', '', ''],
	]],
	['ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH MEEM', [
		'\u0626\u0645', ['\uFC02', '\uFC9A', '\uFCDF', '\uFC66'],
	]],
	['ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH NOON', [
		'\u0626\u0646', ['', '', '', '\uFC67'],
	]],
	['ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH OE', [
		'\u0626\u06C6', ['\uFBF2', '', '', '\uFBF3'],
	]],
	['ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH REH', [
		'\u0626\u0631', ['', '', '', '\uFC64'],
	]],
	['ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH U', [
		'\u0626\u06C7', ['\uFBF0', '', '', '\uFBF1'],
	]],
	['ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH WAW', [
		'\u0626\u0648', ['\uFBEE', '', '', '\uFBEF'],
	]],
	['ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH YEH', [
		'\u0626\u064A', ['\uFC04', '', '', '\uFC69'],
	]],
	['ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH YU', [
		'\u0626\u06C8', ['\uFBF4', '', '', '\uFBF5'],
	]],
	['ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH ZAIN', [
		'\u0626\u0632', ['', '', '', '\uFC65'],
	]],
	['ARABIC LIGATURE YEH WITH HEH', [
		'\u064A\u0647', ['', '\uFCDE', '\uFCF1', ''],
	]],
	['ARABIC LIGATURE YEH WITH JEEM', [
		'\u064A\u062C', ['\uFC55', '\uFCDA', '', ''],
	]],
	['ARABIC LIGATURE YEH WITH JEEM WITH YEH', [
		'\u064A\u062C\u064A', ['', '', '', '\uFDAF'],
	]],
	['ARABIC LIGATURE YEH WITH KHAH', [
		'\u064A\u062E', ['\uFC57', '\uFCDC', '', ''],
	]],
	['ARABIC LIGATURE YEH WITH MEEM', [
		'\u064A\u0645', ['\uFC58', '\uFCDD', '\uFCF0', '\uFC93'],
	]],
	['ARABIC LIGATURE YEH WITH MEEM WITH MEEM', [
		'\u064A\u0645\u0645', ['', '\uFD9D', '', '\uFD9C'],
	]],
	['ARABIC LIGATURE YEH WITH MEEM WITH YEH', [
		'\u064A\u0645\u064A', ['', '', '', '\uFDB0'],
	]],
	['ARABIC LIGATURE YEH WITH NOON', [
		'\u064A\u0646', ['', '', '', '\uFC94'],
	]],
	['ARABIC LIGATURE YEH WITH REH', [
		'\u064A\u0631', ['', '', '', '\uFC91'],
	]],
	['ARABIC LIGATURE YEH WITH YEH', [
		'\u064A\u064A', ['\uFC5A', '', '', '\uFC96'],
	]],
	['ARABIC LIGATURE YEH WITH ZAIN', [
		'\u064A\u0632', ['', '', '', '\uFC92'],
	]],
	['ARABIC LIGATURE ZAH WITH MEEM', [
		'\u0638\u0645', ['\uFC28', '\uFCB9', '\uFD3B', ''],
	]],
]
